package co.yixiang.mall.biz.txlcn.feign;


import co.yixiang.common.core.constant.ServiceNameConstants;
import co.yixiang.mall.biz.txlcn.feign.fallback.RemoteTradeServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author yshop
 */
@FeignClient(value = ServiceNameConstants.SYSTEM_SERVICE, contextId = "tradeServiceClient", fallbackFactory = RemoteTradeServiceFallback.class)
public interface IRemoteTradeService {

    /**
     * 交易日志
     */
    @PostMapping("logs/tx/save")
    void tradeLog();
}
